<div class="contentBody">
<p class="searchbar">
<span style="float: left;"><a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forumsmyposts.Search&amp;search_id=userposts">View topics with my posts</a> | <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forums.Search&amp;search_id=active_topics">View active topics</a></span>
<span style="float: right;"><TMPL_VAR NAME=VIEWFORUM_LOGINREGISTER_LINK><TMPL_VAR NAME=VIEWFORUM_MEMBERLIST_LINK><a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forums.FAQ">FAQ</a> | <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forums.Search">Search</a></span>
</p>
<br />	
	<table class="tablebg" width="100%" cellspacing="0" cellpadding="0" style="margin-top: 5px;">
	<tr>
		<td class="row1">
		<p class="breadcrumbs"><a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forums">Board index</a> &#187; <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Viewforum&amp;o=<TMPL_VAR NAME=PK_OBJECT_ID>"><TMPL_VAR NAME=VIEWFORUM_NAME></a> &#187; <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Viewforum.Moderator&amp;o=<TMPL_VAR NAME=PK_OBJECT_ID>">Moderate Forum</a></p>
		<p class="datetime">All times are <TMPL_VAR NAME=USER_USER_TIMEZONE_STR> </p>
		</td>
	</tr>
	</table>
	<br />	
	<div class="pageheader">
		<h2><a class="titles" href="<TMPL_VAR NAME=CGI_BASE_URL>s=Viewforum&amp;o=<TMPL_VAR NAME=PK_OBJECT_ID>"><TMPL_VAR NAME=VIEWFORUM_NAME></a></h2>
		<TMPL_VAR NAME=VIEWFORUM_DESCRIPTION>
			</div>

	<br/>
</div>

<script language="javascript" type="text/javascript">
<!--

    function alertDeleteObject() {
        var f= document.forms[0];
		//TODO
//		if (f.DeletePosts)
//		{
//		}
//        if (confirm('Deleting Object:\n\n'+type+': '+ id+'\n\nAre you sure.\n\nThis action is not undoable,\nthis object and all associated data will be lost.')) {
//            f.ns.value= f.s.value;
//            f.s.value= type+".Delete";
//            f.o.value= id;
//	        if (typeof(next) != 'undefined') {
//		        f.ns.value= next;
//			}
//            f.submit();
//        }
		return 1;
    }

//-->
</script>


<div class="contentBody">
<fieldset>
<table class="contentTable" width="100%">

<tr>
<th colspan=2>Moderator Functions</th>
</tr>

<tr>
<td class="label">Move Topics:</td>
<td>
<select name="MoveTopics" multiple size=10>
<TMPL_VAR NAME=VIEWFORUM_VIEWTOPIC_OPTIONS>
</select><br />
<small>Select multiple topics to move to a new forum.</small><br />
<select name="NewViewforumID">
<TMPL_VAR NAME=VIEWFORUM_OPTIONS>
</select><br/>
<small>Select a forum to move the topic into</small>
</td>
</tr>

<tr>
<td class="label">Merge Topics:</td>
<td>
<select name="MergeTopics" multiple size=10>
<TMPL_VAR NAME=VIEWFORUM_VIEWTOPIC_OPTIONS>
</select><br />
<small>Select multiple topics to merge into a single topic.</small><br />
<input name="MergeTitle" type="text" size=80 value=""><br/>
<small>Enter a new title for the merged topic if required</small>
</td>
</tr>

</table>

<div class="submit">
<input type=button onClick="if (alertDeleteObject()) updateObject('Viewforum','<TMPL_VAR NAME=PK_OBJECT_ID>');" value="Update &raquo;">
</div>
<br />
<br />

<table class="contentTable" width="100%">


		<tr>
		<th colspan=2>Delete Topics</th>
		</tr>
<tr>
<td class="label">Delete Topics:</td>
<td><select name="DeleteTopics" multiple size=10>
<TMPL_VAR NAME=VIEWFORUM_VIEWTOPIC_OPTIONS>
</select><br />
<small>Select multiple topics to delete from the forum then hit the update button below.</small><br/>
</td>
</tr>
</table>

<div class="submit">
<input type=button onClick="if (alertDeleteObject()) updateObject('Viewforum','<TMPL_VAR NAME=PK_OBJECT_ID>');" value="Delete Topics &raquo;">
</div>

<br />
<br />

<table class="contentTable" width="100%">


</fieldset>
</div>

<br />
<br />

<TMPL_VAR NAME=OBJECTS> 

<br/>
<div class="contentBody">

	<table class="tablebg" width="100%" cellspacing="0" cellpadding="0" style="margin-top: 5px;">
	<tr>
		<td class="row1">
		<p class="breadcrumbs"><a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Forums">Board index</a> &#187; <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Viewforum&amp;o=<TMPL_VAR NAME=PK_OBJECT_ID>"><TMPL_VAR NAME=VIEWFORUM_NAME></a> &#187; <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Viewforum.Moderator&amp;o=<TMPL_VAR NAME=PK_OBJECT_ID>">Moderate Forum</a></p>
		<p class="datetime">All times are <TMPL_VAR NAME=USER_USER_TIMEZONE_STR> </p>
		</td>
	</tr>
	</table>
</div>
